package com.szewec.ps.model.task;

import com.szewec.ps.model.Meta;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class TaskListModel {
    private Meta meta;
    private String msg;
    private List<TaskVO> data;
    private Integer code;

    public static class TaskVO implements Serializable {

        private static final long serialVersionUID = 2185461377736173806L;

        private String id;
        // 任务状态：1-未开始、2-进行中、3-已完成、其他待补充
        private Integer taskStatus;
        // 任务事项
        private String taskMatter;
        // 任务结束时间
        private Date taskEndTime;
        // 任务人列表
        private List<TaskUserModel> workerUserList;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Integer getTaskStatus() {
            return taskStatus;
        }

        public void setTaskStatus(Integer taskStatus) {
            this.taskStatus = taskStatus;
        }

        public String getTaskMatter() {
            return taskMatter;
        }

        public void setTaskMatter(String taskMatter) {
            this.taskMatter = taskMatter;
        }

        public Date getTaskEndTime() {
            return taskEndTime;
        }

        public void setTaskEndTime(Date taskEndTime) {
            this.taskEndTime = taskEndTime;
        }

        public List<TaskUserModel> getWorkerUserList() {
            return workerUserList;
        }

        public void setWorkerUserList(List<TaskUserModel> workerUserList) {
            this.workerUserList = workerUserList;
        }
    }


    public Meta getMeta() {
        return meta;
    }

    public void setMeta(Meta meta) {
        this.meta = meta;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<TaskVO> getData() {
        return data;
    }

    public void setData(List<TaskVO> data) {
        this.data = data;
    }
}
